package com.nanjia.boot.brand.converter;

import com.nanjia.boot.brand.model.entity.BrandInfo;
import com.nanjia.boot.brand.model.form.BrandInfoForm;
import org.mapstruct.Mapper;

/**
 * 品牌信息对象转换器
 *
 * @author 周洋
 * @since 2025-07-04 15:18
 */
@Mapper(componentModel = "spring")
public interface BrandInfoConverter{

    BrandInfoForm toForm(BrandInfo entity);

    BrandInfo toEntity(BrandInfoForm formData);
}